package com.example.houtai.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.houtai.entity.SysLog;
import com.example.houtai.mapper.SysLogMapper;
import com.example.houtai.service.ISysLogService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.org.dto.LogDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 系统日志表 服务实现类
 * </p>
 *
 * @author 龚梦
 * @since 2021-03-22
 */
@Service
public class SysLogServiceImpl extends ServiceImpl<SysLogMapper, SysLog> implements ISysLogService {

    @Autowired
    private SysLogMapper sysLogMapper;

    @Override
    public Page<SysLog> list(Page<SysLog> page, String username, String operation) {
        return sysLogMapper.list(page,username,operation);
    }
}
